﻿
@{
    ViewData["Title"] = "AddWarehouse";
    Layout = "~/Views/Shared/Temp.cshtml";
}

<blockquote class="layui-elem-quote" >
    <h2 style="color:darkgray">添加仓库</h2>
</blockquote>


<div class="layui-card" style="width:80%;margin:auto;">
    <div class="layui-card-header">
        <table style="border:1px solid darkgray;width:100%;height:50px;margin-top:30px">
            <tr>
                <td style="color:darkgray">添加仓库信息</td>
            </tr>
        </table>
    </div>
    <div class="layui-card-body">
        <form class="layui-form" action="" style="margin-top: 30px;" width="600px" lay-filter="addForm">
            <div class="layui-row" style="margin-bottom: 20px;">
                <div class="layui-col-xs6">
                    <label class="layui-form-label">仓库编号</label>
                    <div class="layui-input-block">
                        <input type="text" id="warehouseCode" name="WarehouseCode" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px" disabled>
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label">部门</label>
                    <div class="layui-input-block" style="width:150px">
                        <select name="department" lay-filter="required" lay-verify="required">
                            <option value=""></option>
                            <option value=1>财务中心</option>
                            <option value=2>信息技术中心</option>
                            <option value=3>采购中心</option>
                            <option value=4>销售中心</option>
                            <option value=5>行政部</option>
                            <option value=6>管理中心</option>
                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-row" style="margin-bottom: 20px;">
                <div class="layui-col-xs6">
                    <label class="layui-form-label">仓库名称</label>
                    <div class="layui-input-block">
                        <input type="text" name="warehouseName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label">仓库类型</label>
                    <div class="layui-input-block" style="width:150px">
                        <select name="warehouseType" lay-filter="required" lay-verify="required">
                            <option value=""></option>
                            <option value="产品仓库">产品仓库</option>
                            <option value="原料仓库">原料仓库</option>
                            <option value="办成品仓库">办成品仓库</option>
                            <option value="废品仓库">废品仓库</option>
                        </select>
                    </div>
                </div>
            </div>


            <div class="layui-row" style="margin-bottom: 20px;">
                <div class="layui-col-xs6">
                     <label class="layui-form-label">租赁日期</label>
                      <div class="layui-input-inline layui-input-wrap">
                        <div class="layui-input-prefix">
                          <i class="layui-icon layui-icon-date"></i>
                        </div>
                        <input type="date" name="RentalTime" id="rentalTime" lay-verify="required" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                      </div>
                 
                </div>
            </div>

            <div class="layui-row" style="margin-bottom: 20px;">
                <div class="layui-col-sm6">
                    <label class="layui-form-label">面积</label>
                    <div class="layui-input-block">
                        <input type="text" name="Area" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label">地址</label>
                    <div class="layui-input-block">
                        <input type="text" name="Waddress" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px">
                    </div>
                </div>
            </div>

            <div class="layui-row" style="margin-bottom: 20px;">
                <div class="layui-col-xs6">
                    <label class="layui-form-label">联系人</label>
                    <div class="layui-input-block">
                        <input type="text" name="Wcontact" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px">
                    </div>
                </div>
                <div class="layui-col-xs6">
                    <label class="layui-form-label">电话</label>
                    <div class="layui-input-block">
                        <input type="text" name="Wphone" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" style="width:150px">
                    </div>
                </div>
            </div>
            <div style="text-align:center;">
                <button class="layui-btn layui-bg-blue" lay-submit id="addbtn" lay-filter="demo-verify">提交</button>
                <button class="layui-btn-primary layui-btn">取消</button>
            </div>

        </form>
    </div>
</div>



<script src="~/js/foundation/addwarehouse.js"></script>




